import React from 'react';
import {BrowserRouter} from 'react-router-dom';
import RouterView from './router-view';
import RouterConfig from './router-config';

const Router:React.FC = () => {
    return <BrowserRouter>
        <RouterView routes={RouterConfig}></RouterView>
    </BrowserRouter>
}

export default Router